import 'package:flutter/material.dart';
import 'package:get/route_manager.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

import 'package:management_system/router/router.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return ScreenUtilInit(
        designSize: const Size(1440, 1024),
        minTextAdapt: true,
        splitScreenMode: true,
        child: GetMaterialApp(
          debugShowCheckedModeBanner: false,
          title: "有料",
          getPages: RouterUtil.routerList,
          initialRoute: RoutePath.home,
          theme: ThemeData(
            useMaterial3: true,
            highlightColor: Colors.transparent,
          ),
        ));
  }
}
